package com.cx.util;

/**
 * @Description
 * @Author 11597
 * @Date 2020/6/5 19:39
 */
public class Result {
    /**
     * 状态，1-成功，2-失败
     */
    private Integer code;
    /**
     * 状态描述信息
     */
    private String msg;
    /**
     * 返回的对象
     */
    private Object newslist;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getNewslist() {
        return newslist;
    }

    public void setNewslist(Object newslist) {
        this.newslist = newslist;
    }

    @Override
    public String toString() {
        return "Result{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", newslist=" + newslist +
                '}';
    }
}
